﻿using System.Xml.Serialization;

namespace MobySharp.Results
{
    [XmlRoot("mobypicture")]
    public class BasicResult : BaseResult, IResult
    {
        public BasicResult()
        {
            Result = new MobyResult() {Code = 0};
        }

        public BasicResult(int resultCode)
        {
            Result = new MobyResult() {Code = resultCode};
        }

        [XmlElement(ElementName = "url")]
        public string Url { get; set; }
    }
}